<template>
	<view class="content">
		<video style="width:100%;height: 100vh;" :autoplay="true"  :src="videosrc" controls ></video>
	</view>
</template>

<script>
	export default {
		onLoad() {
			let res=  uni.getStorageSync('video');
		this.videosrc=res
			// let res=decodeURIComponent(option.item)
			// console.log(res);
				// let data = JSON.parse(res)
				// console.log(data);
			// this.videosrc=JSON.parse()
		},
		data() {
			return {
				videosrc:""
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
.content{
	width: 100%;
	height: 80vh;
}
</style>
